﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HMS.BL
{

    public class Grid
    {

        public List<colModel> colModelList { get; set; }
        public List<string> columns { get; set; }
        public List<object> datarow { get; set; }
        public string primarykey { get; set; }

        public Grid()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        public Grid(List<colModel> colModelList, List<string> columns, List<object> datarow, string primarykey)
        {

            this.colModelList = colModelList;
            this.columns = columns;
            this.datarow = datarow;
            this.primarykey = primarykey;
        }

        public Grid(List<object> datarow, string primarykey)
        {
            this.datarow = datarow;
            this.primarykey = primarykey;
        }
    }
}
